package Month07.day31;

import java.io.File;
import java.util.Scanner;

public class test1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String path=scanner.next();
        File file = new File(path);
        if (file.isFile()){
            System.out.println(path+"是一个文件");
        }else if (file.isDirectory()){
            System.out.println(path+"是一个文件夹");
        }else {
            System.out.println("该路径不存在");
        }
    }
}
